package itsm.isperp.module.dto.app;

import org.springframework.beans.BeanUtils;

import itsm.isperp.framework.security.domain.RoleResource;
import itsm.isperp.module.entity.app.AppMenu;

/**
 * 用户角色菜单视图
 * 
 * @author lizx
 * @date 2013-2-25
 * @version V1.0
 */
public class VAppRoleMenu extends AppMenu implements RoleResource {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String appRoleId;

	public VAppRoleMenu() {
	}

	public VAppRoleMenu(AppMenu menu) {
		BeanUtils.copyProperties(menu, this);
	}

	public String getAppRoleId() {
		return appRoleId;
	}

	public void setAppRoleId(String appRoleId) {
		this.appRoleId = appRoleId;
	}

	@Override
	public String getRoleId() {
		return this.appRoleId;
	}

	@Override
	public void setRoleId(String roleId) {
		this.appRoleId = roleId;
	}

}
